package org.jsola.hr.dto;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import org.jsola.core.dto.BaseDTO;

import javax.validation.constraints.NotNull;
import java.util.List;

import static org.jsola.hr.example.EmpInfoExample.*;

/**
 * @author wcl
 */
@EqualsAndHashCode(callSuper = true)
@ApiModel(description = "【批量保存工价规则】的参数")
@Data
public class EmpRuleBatchAddDTO extends BaseDTO {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(notes = "员工id集合")
    @NotNull(message = "员工id不能为空")
    private List<String> empIdList;

    @ApiModelProperty(notes = N_SALARY_RULE_ID, example = E_SALARY_RULE_ID)
    private String salaryRuleId;

    @ApiModelProperty(notes = N_SERVICE_FEE_RULE_ID, example = E_SERVICE_FEE_RULE_ID)
    private String serviceFeeRuleId;

}

